package com.ctvit.cch.core.pojo.domain;

import java.time.LocalDateTime;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 灵感记录表对象 insp_inspiration_record
 *
 * @author heyingcheng
 * @date 2025/10/22
 */
@Getter
@Setter
@ToString
@TableName(value = "insp_inspiration_record", autoResultMap = true)
public class InspirationRecord {

    /**
     * 灵感记录ID
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String recordId;

    /**
     * 灵感创作ID
     */
    private String creationId;

    /**
     * 创作标题
     */
    private String title;

    /**
     * 关键词
     */
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<String> keywords;

    /**
     * 创作内容
     */
    private String content;

    /**
     * 创作视角 USER-网友 HOT-热门 TIME-时效 NEW-新颖
     */
    private String angle;

    /**
     * 创作索引
     */
    private Integer recordIndex;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

}
